package com.ctshk.rpc.airexpress.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_airport_express")
@ApiModel(value = "AirportExpress对象", description = "机场快线实体")
public class AirportExpress extends BaseEntity {
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("机场快线api的id")
    private String apiId;
    @ApiModelProperty("票种名称中文")
    private String ticketTypeNameCn;
    @ApiModelProperty("票种名称英文")
    private String ticketTypeNameEn;
    @ApiModelProperty("票种类型(1:单程票,2:往返票)")
    private Integer ticketType;
    @ApiModelProperty("产品编码")
    private String productCode;
    @ApiModelProperty("车票有效时间")
    private Integer ticketValidity;
    @ApiModelProperty("来源")
    private Integer source;
    @ApiModelProperty("供应商id")
    private Long supplierId;
    @ApiModelProperty("供应商名称")
    private String supplierName;
    @ApiModelProperty("上架状态")
    private Integer onShelfStatus;
    @ApiModelProperty("售卖状态")
    private Integer saleStatus;
    @ApiModelProperty("预订须知")
    private String bookingInformation;
    @ApiModelProperty("退改设置")
    private String changeSettings;
    @ApiModelProperty("手续费")
    private BigDecimal serviceCharge;
    @ApiModelProperty("手续费类型(1-固定值,2-百分比)")
    private Integer serviceChargeType;
    @ApiModelProperty("成人价格")
    private BigDecimal adultPrice;
    @ApiModelProperty("小童价格")
    private BigDecimal childrenPrice;

    @ApiModelProperty("负责人ID")
    private Long chargePersonId;
    @ApiModelProperty("负责人员工号")
    private String chargePersonNumber;
    @ApiModelProperty("负责人姓名")
    private String chargePersonName;
    @ApiModelProperty("负责人部门名称")
    private String chargePersonDepartment;
    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCreate;
    @ApiModelProperty("创建人")
    private Long createId;
    @ApiModelProperty("更新时间")
    private LocalDateTime gmtModified;
    @ApiModelProperty("修改人")
    private Long modifiedId;
    @ApiModelProperty("删除标识")
    private Integer isDeleted;
}
